How to extract Dominant Color using K-Means